crypto/x509.pkcs1PublicKey.N (field)

28 uses

	crypto/x509 (current package)
		parser.go#L282: 			N: p.N,
		pkcs1.go#L84: 		N: priv.N,
		pkcs1.go#L143: 		N:       key.N,
		pkcs1.go#L189: 		N: pub.N,
		pkcs1.go#L198: 		N: key.N,
		x509.go#L89: 			N: pub.N,

	crypto/rsa
		fips.go#L422: 	if pub.N == nil {
		fips.go#L425: 	if pub.N.BitLen() < 2048 {
		fips.go#L428: 	if pub.N.BitLen()%2 == 1 {
		rsa.go#L69: 	N *big.Int // modulus
		rsa.go#L79: 	return (pub.N.BitLen() + 7) / 8
		rsa.go#L88: 	return bigIntEqual(pub.N, xx.N) && pub.E == xx.E
		rsa.go#L257: 	if !bigIntEqualToBytes(priv.N, N) || priv.E != e || !bigIntEqualToBytes(priv.D, d) {
		rsa.go#L296: 	if k.N == nil {
		rsa.go#L299: 	return checkKeySize(k.N.BitLen())
		rsa.go#L338: 				N: N,
		rsa.go#L387: 			N: new(big.Int).SetBytes(N),
		rsa.go#L519: 			priv.N = n
		rsa.go#L565: 	if priv.N == nil {
		rsa.go#L583: 		k, err := rsa.NewPrivateKeyWithPrecomputation(priv.N.Bytes(), priv.E, priv.D.Bytes(),
		rsa.go#L595: 	k, err := rsa.NewPrivateKey(priv.N.Bytes(), priv.E, priv.D.Bytes(),
		rsa.go#L613: 	k, err := rsa.NewPrivateKeyWithoutCRT(priv.N.Bytes(), priv.E, priv.D.Bytes())
		rsa.go#L666: 	N, err := bigmod.NewModulus(pub.N.Bytes())

	crypto/tls
		defaults_fips140.go#L70: 		return k.N.BitLen() >= 2048
		handshake_client.go#L1108: 			n := cert.PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server.go#L950: 			n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server_tls13.go#L874: 			rsaKey.N.BitLen()/8 < sigHash.Size()*2+2 { // key too small for RSA-PSS